<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	CheckBox Samples
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h2>CheckBox Samples</h2>

    <% using (Html.BeginForm())
    { %>
    This should be unchecked: <%= Html.CheckBox("Published", false)%><br />
    This should be checked: <%= Html.CheckBox("Visible")%><br />
    <input type="submit" />
    <%} %>

</asp:Content>
